package com.acmedcare.framework.plugin.sample.data;

import com.acmedcare.framework.exchange.center.core.metadata.IDataConsumer;
import com.acmedcare.framework.plugin.sample.dto.TaskRunner;

public class ConsumerDemo implements IDataConsumer<TaskRunner> {


  @Override
  public Class<?> getEntityClass() {

    return TaskRunner.class;
  }

  @Override
  public void receive(TaskRunner data) {

    System.out.println(data.getName() + data.getUpdateTime());
  }
}
